Now you're ready to insert your new row, which requires moving the cursor to the special insert row by calling the moveToInsertRow() method. 现在,您已经准备好插入新行,这要求通过调用moveToInsertRow()方法把游标移动到特定插入行。
Create a new line after// TODO Insert code here// and click the empty line to place the cursor there. 在//TODOInsertcodehere//后面创建一个新的命令行,点击这个空白命令行并将鼠标定位在这里。
When A2 commits the insert, because IS and IX table lock mode are compatible, application A1 can reopen the cursor and retrieve the inserted row. 在A2提交插入操作时,由于IS和IX表锁定模式兼容,因此应用程序A1即可重新打开游标,并检索所插入的行。
As long as A2 does not commit or rollback the insert, application A1 is able to reopen the cursor and retrieve the new row. 只要A2不提交或者回滚插入操作,应用程序A1就可以重新打开游标并检索新行。
This example moves the same CUSTOMER_INFO table, but it uses the LOAD option instead of the INSERT FROM CURSOR option, which is the default. 该示例移动同一个CUSTOMERINFO表,但是使用了LOAD选项,而不是INSERTFROMCURSOR选项,后者是默认配置。
Two new capabilities in V8 load are especially interesting in terms of being alternatives to insert: load from a cursor, and load from call level interface ( CLI) applications. 在V8load中有两个新功能,它们对于load成为insert的替代方案有着特别的功效,这两个功能是:从游标装载和从调用层接口(CLI)应用程序装载。
Just like with the CachedRowSet I covered in the prequel to this article, to perform an insert, we must move the cursor to a special position called "insert row". 正如我在本文前一篇文章中提到的CachedRowSet一样,要执行插入,首先应将光标移动到名为“insertrow”的特定区域。
Several factors contribute to making the LOAD option faster than INSERT FROM CURSOR option 一些因素可以使LOAD选项比INSERTFROMCURSOR选项更快速
Pressing I puts you into insert mode in front of the current cursor location. 按i可以在当前光标位置的前面进入到插入模式。
Release the row locks so that other applications can SELECT, INSERT, UPDATE, and DELETE from the table ( for example, use isolation level cursor stability or uncommitted read). 释放行锁,以便其他应用程序可以对表执行SELECT、INSERT、UPDATE和DELETE(例如,使用游标稳定性(cursorstability)隔离级别或未提交读(uncommittedread)隔离级别)。
Simply exit insert mode to switch into command mode, move the cursor to the incorrect letter, and replace it& all using vi commands. 只需退出插入模式并切换到命令模式,将光标移动到错误字符并进行替换,所有这些操作都使用vi命令完成。
Click "insert", move the cursor down to" pictures "and click" from document ". 单击插入,并将光标移至图片,单击来自文件。